// 卡片式dom对象的样式
.wind-container-box{
  background: #FFFFFF;
  transition: all ease 0.3s;
  border-radius: 4px;
  border: 1px solid $wind-container-box-border;
  padding: 10px;
  &:hover {
    box-shadow: 0 2px 12px $wind-container-box-shadow;
    transition: all ease 0.3s;
  }
}

// 文字样按钮
.wind-text-button{
  color: $theme-color;
  background: transparent;
  cursor: pointer;
  padding: 5px 6px;
  font-size: 12px;
  border-radius: 2px;
  display: inline-block;
  &:hover{
    color: $theme-light-color;
  }
}

// 自定义主按钮
.wind-primary-button{
  background: #444;
  color: #FFFFFF;
  font-size: 16px;
  padding: 10px 18px;
  font-weight: 400;
  letter-spacing: 1px;
  transition: 0.5s;
  cursor: pointer;
  &:hover{
    letter-spacing: 2px;
    background: $theme-color;
    box-shadow: 0 0 35px $theme-color;
  }
}

// 点击按钮之后得波浪效果
.waves-effect {
  position: relative;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  vertical-align: middle;
  z-index: 1;
  will-change: opacity, transform;
  transition: all 0.3s ease-out;
  .waves-ripple {
    position: absolute;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    opacity: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.7s ease-out;
    transition-property: opacity, -webkit-transform;
    transition-property: transform, opacity;
    transition-property: transform, opacity, -webkit-transform;
    -webkit-transform: scale(0);
    transform: scale(0);
    pointer-events: none;
  }
}
.waves-effect.waves-light .waves-ripple {
  background-color: rgba(255, 255, 255, 0.45);
}
